<?php
/**
 * Created by PhpStorm.
 * User: zhangjijian
 * Date: 2017/6/21
 * Time: 下午4:10
 */
namespace App\Http\Controllers;

use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class UserController extends Controller
{
    /**
     *
     */
    public function show(Request $request,$id){
        $value = $request->session()->get('username');
       // return view('user.profile',['user'=>User::findOrFail($id)]);
    }
    public function update(Request $request,$id){
//        $name = $request->input('name');
//        echo $uri = $request->path();
//        return response('hello word',200)->header('Content-Type','text/plain');

        //echo $id;
    }

}